package com.atguigu.system.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//自定义全局异常
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerException extends RuntimeException{

    private Integer code;

    private String message;

}
